package roboticsfmw.sample.event;

import roboticsfmw.core.Event;

public class JoystickEvent implements Event {

	private double x;
	private boolean xChanged = false;
	private double y;
	private boolean yChanged = false;
	private double z;
	private boolean zChanged = false;
	private boolean b1;
	private boolean b2;
	
	public void setY(double y) {
		this.y = y;
	}
	
	public double getY() {
		return y;
	}
	
	public void setX(double x) {
		this.x = x;
	}
	
	public double getX() {
		return x;
	}
	
	public void setZ(double z) {
		this.z = z;
	}
	
	public double getZ() {
		return z;
	}
	
	public void setB1(boolean b1) {
		this.b1 = b1;
	}
	
	public boolean isB1() {
		return b1;
	}
	
	public void setB2(boolean b2) {
		this.b2 = b2;
	}
	
	public boolean isB2() {
		return b2;
	}

	public void setXChanged(boolean xChanged) {
		this.xChanged = xChanged;
	}

	public boolean isXChanged() {
		return xChanged;
	}

	public void setYChanged(boolean yChanged) {
		this.yChanged = yChanged;
	}

	public boolean isYChanged() {
		return yChanged;
	}

	public void setZChanged(boolean zChanged) {
		this.zChanged = zChanged;
	}

	public boolean isZChanged() {
		return zChanged;
	}
	
	
	
}
